<%@ page language="java" contentType="text/html; charset=utf-8" isELIgnored="false"
    pageEncoding="utf-8"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
  <%int i = 1; %>
  <div id="workspace" class="col-md-12"> 
  		<br/>
                <ol class="breadcrumb">
                    <li><a href="index.jsp"><span class="glyphicon glyphicon-home"></span>&nbsp;后台首页</a></li>
                    <li class="active">转变工作 - 已处理</li>
                </ol><br>
   <table  class="table table-bordered table-striped text-center bg-info">
	<thead>
		<tr class="info">
			<th class="text-center">ID</th>
			<th class="text-center">名字</th>
			<th class="text-center">种类</th>
			<th class="text-center">数量</th>
			<th class="text-center">地址</th>
			<th class="text-center">接收单位名称</th>
			<th class="text-center">转变价格</th>
			<th class="text-center">转变资产负责人</th>
			<th class="text-center">审核人</th>
			<th class="text-center">处理结果</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="asset" items="${sessionScope.outDoneChange }">
		<tr class="success">
			<td>${asset.id }</td>
			<td>${asset.name }</td>
			<td>${asset.category }</td>
			<td>${asset.number }</td>
			<td>${asset.address }</td>	
			<c:choose>
				<c:when test="${asset.now == '1' }"><td>校级管理处</td></c:when>
				<c:when test="${asset.now == '2' }"><td>网安学院</td></c:when>
				<c:when test="${asset.now == '3' }"><td>光电学院</td></c:when>
				<c:when test="${asset.now == '4' }"><td>控制学院</td></c:when>
				<c:when test="${asset.now == '5' }"><td>软件学院</td></c:when>
				<c:when test="${asset.now == '6' }"><td>英语学院</td></c:when>
				<c:when test="${asset.now == '7' }"><td>校外单位</td></c:when>
			</c:choose>
			
			<td>${asset.sellPrice }</td>
			<td>${asset.header }</td>	
			<td>${asset.auditor }</td>
			<c:choose>
				<c:when test="${asset.state == '0' }"><td>通过审核</td></c:when>
				<c:when test="${asset.state == '2' }"><td>打回申请</td></c:when>
			</c:choose>
		</tr>
		</c:forEach>
		<%session.removeAttribute("outDoneChange"); %> 
	</tbody>
   </table>
   			<ul class="pagination right">
                    <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a>
                    </li>
                    <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li><a href="#" aria-label="Next"><span aria-hidden="true">&raquo;</span></a></li>
             </ul>
   </div>
</body>
</html>